package com.auth.Sercurity.demo1;

import org.springframework.stereotype.Component;

/**
 * @author hujian
 * @version 1.0
 * @description: 李四
 * @date 2022/2/16 11:39
 */
@Component
public class LisiTaskStrategy implements UserTaskStrategy {

    @Override
    public String userTaskPorcess(String User) {
       return "李四完成任务";
    }

    @Override
    public void afterPropertiesSet() throws Exception {
        UserTaskStrategyFactory.redisterUserRaskStrategy("李四",this);
    }
}
